<@t.extend file="/template/4.ftl">

	<@t.block name="content">
		<#assign cart = Session["ORDER_IN_SESSION"] />
		<div>
			<h3 id="urHere">当前位置: <a href="${currentSite.schemaName}">首页</a> <code>&gt;</code> 购物流程</h3>
			<div class="step s2"></div>
		</div>
		<div class="bottomheadb">
			<div class="fontjc font14" id="list_topb_car">填写核对订单信息</div>	
			<form action="confirm">
			<div id="list_lineb_car">
				<div class="in_carb">
					<ul class="cont">
					<div class="l"><h3 class="textls font14 bottomhead">收货人地址</h3></div>
					<div style="margin-left: 20px;" class="l"><a class="LV" href="flow.php?step=consignee">[修改]</a></div>
					<li class="y_s_car">
						<label class="textjy" id="tr_a">收货人姓名：</label>
						<label id="fr_fav_c">${cart.order.shippingFirstName}</label>
						<label class="textjy" id="tr_a">电子邮件地址：</label>
						<label id="name">${cart.order.shippingEmail?default("")}</label>
					</li>
					<li class="y_s_car">
						<label class="textjy" id="tr_a">详细地址：</label>
						<label id="fr_fav_c">${cart.order.shippingStreet?default("")}</label>
						<label class="textjy" id="tr_a">邮政编码：</label>
						<label id="name">${cart.order.shippingZip?default("")}</label>
					</li>
					<li class="y_s_car">
						<label class="textjy" id="tr_a">电话：</label>
						<label id="fr_fav_c">${cart.order.shippingPhone?default("")}</label>
						<label class="textjy" id="tr_a">手机：</label>
						<label id="name">${cart.order.shippingMobile?default("")}</label>
					</li>
					<li class="y_s_car">
						<label class="textjy" id="tr_a">标志建筑：</label>
						<label id="fr_fav_c">&nbsp;${cart.order.shippingBuilding?default("")}</label>
						<label class="textjy" id="tr_a">最佳送货时间：</label>
						<label id="name">&nbsp;${cart.order.shippingBestTime?default("")}</label>
					</li>
					</ul>
				</div>
				<div class="car_line"></div>
				<div class="in_carb">
					<div class="l">
						<h3 class="textls font14 bottomhead">支付方式</h3>
					</div>
					<div class="r textjs"></div>
				</div>
				<div class="in_carb">
					<div style="background: none repeat scroll 0% 0% rgb(242, 252, 243); height: 1%; overflow: hidden; border-bottom: 1px solid rgb(195, 242, 203); border-top: 2px solid rgb(195, 242, 203); padding-bottom: 10px;">
						<ul style="padding: 5px 0pt;" class="cont">
							<li style="clear: both; margin: 3px 15px 3px 25px;">
								<h3 class="texthub bottomhead">在线支付</h3>
							</li>
							<li style="border: 1px dashed rgb(195, 242, 203); clear: both; width: 850px; margin: 0px 15px 5px 25px; background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 5px; height: 1%; overflow: hidden;">
								<div id="payonline">
								<ul>
								<h1 style="padding: 10px 0pt 0pt 5px; font-weight: normal;">请选择以下银行支付</h1>
									<li>
										<label id="xuank"><input type="radio" value="6_CMBCHINA-NET" name="order.paymentType" id="payment_a3"></label>
										<label class="banklogo zhao_logo" for="payment_a3"></label>
									</li>
									<li>
										<label id="xuank"><input type="radio" value="6_CEB-NET" name="order.paymentType" id="payment_a8"></label>
										<label class="banklogo guangda_logo" for="payment_a8"></label>
									</li>						
									<li>
										<label id="xuank"><input type="radio" value="6_ABC-NET" name="order.paymentType" id="payment_a5"></label>
										<label class="banklogo nongye_logo" for="payment_a5"></label>
									</li>
								</ul>
								<ul>
								<h1 style="padding: 10px 0pt 0pt 5px; font-weight: normal;">请选择以下支付平台支付：</h1>
									<li>
										<label id="xuank"><input type="radio" value="1" name="order.paymentType" onclick="selectPayment(this)" id="payment_a13"></label>
										<label class="banklogo bill99_logo" for="payment_a13"></label>
									</li>
									<li>
										<label id="xuank"><input type="radio" value="2" name="order.paymentType" onclick="selectPayment(this)" id="payment_a14"></label>
										<label class="banklogo alipay_logo" for="payment_a14"></label>
									</li>
									<li>
										<label id="xuank"><input type="radio" value="8" name="order.paymentType" onclick="selectPayment(this)" id="payment_a15"></label>
										<label class="banklogo sxyzf_logo" for="payment_a15"></label>
									</li>
								</ul>
								</div>
							</li>
							<li class="y_s_car">
								<label class="textjy" id="carset">
									<input type="radio" id="payment5" onclick="selectPayment(this)" iscod="1" value="4" name="order.paymentType"></label>
								<label style="padding-top: 2px;" id="tj_textc" for="payment5">&nbsp;货到付款</label>
								<label id="tj_car">当面付款后验货，支持现金  
									<a target="_blank" href="http://www.yeecare.com/article-74.html">
										<font color="005EA7">点击查询可以货到付款的城市</font>
									</a>
								</label>
							</li>
							<li class="y_s_car">
								<label class="textjy" id="carset"><input type="radio" id="payment7" onclick="selectPayment(this)" iscod="0" value="5" name="order.paymentType"></label>
								<label style="padding-top: 2px;" id="tj_textc" for="payment7">&nbsp;银行汇款/转帐</label>
								<label id="tj_car">转账后1&mdash;5个工作日内到账</label>
							</li>
						</ul>
					</div>
				</div>


				<div class="in_carb">
					<ul class="cont">
						<li class="y_s_d">
							<label class="font14 textls fontjc" id="buynum">订单附言</label>
							<label id="fr_right"><textarea id="postscript" rows="4" cols="100" class="text_t" name="order.comments"></textarea></label>
						</li>
					</ul>
				</div>

				<div class="car_line"></div>

				<div class="in_carb">
					<div class="l"><h3 class="textls font14 bottomhead">商品列表</h3></div>
					<div class="r textjs"><a class="LV" href="flow.php">[返回修改购物车]</a></div>
				</div>
				<style>
				table {
					display: table;
					border-collapse: separate;
					border-spacing: 1px 1px;
					border-color: gray;
				}
				</style>
				<div class="in_carb">
					<ul class="cont">
					<table width="100%" cellspacing="1" cellpadding="5" border="0" bgcolor="#f4e544">
					  <tbody><tr>
						<td bgcolor="#fdf1d0" class="fontjc">商品名称</td>
						<td bgcolor="#fdf1d0" class="fontjc">市场价</td>
						<td bgcolor="#fdf1d0" class="fontjc">本店价</td>
						<td bgcolor="#fdf1d0" class="fontjc">购买数量</td>
						<td bgcolor="#fdf1d0" class="fontjc">运费</td>
						<td bgcolor="#fdf1d0" class="fontjc">小计</td>
					  </tr>
					  <#list cart.orderItemList as item>
					  <tr>
						<td bgcolor="#ffffff"><a target="_blank" href="goods.php?id=227">${item.title}</a> <br><span class="texthu"></span></td>
						<td bgcolor="#ffffff">￥${item.listPrice}</td>
						<td bgcolor="#ffffff">￥${item.price}</td>
						<td bgcolor="#ffffff">${item.quantity}</td>
						<td bgcolor="#ffffff">${item.shipping?default("0")}</td>
						<td bgcolor="#ffffff">￥${item.totalPrice}</td>
					  </tr>  
					  </#list>  
					  <tr>
						<td bgcolor="#ffffff" class="textjy" colspan="6">			  
							购物金额小计 ￥${cart.orderTotalPrice}，<span class="textStrong">比市场价 ￥${cart.orderTotalMarketPrice} 节省了 ￥${cart.orderSavingsPrice} (${cart.orderSavingsDiscount})</span></td>
					  </tr>
					  </tbody>
					</table>
					</ul>
				</div>

				<div class="car_line"></div>

				<div class="in_carb">
					<div class="l"><h3 class="textls font14 bottomhead">结算信息</h3></div>
					<div class="r textjs"></div>
				</div>

				<div class="in_carb">
					<div style="background: none repeat scroll 0% 0% rgb(242, 252, 243); height: 1%; overflow: hidden; border-top: 2px solid rgb(195, 242, 203);">
						<div id="ECS_ORDERTOTAL">
							<ul style="padding: 5px 0pt;" class="cont">
								<li style="height: 55px; padding: 0pt 0pt 0pt 10px;" class="y_s_car_tol textlineb">
									商品总价：￥${cart.orderTotalMarketPrice}                  
									<span class="texths">+</span> 配送费用：￥${cart.order.shipping}<span class="texths">-</span> 使用余额：
									<span id="use_surplus">0元</span>
									<span class="texths">-</span> 使用红包：<span id="use_bonus">0元</span>
									<br>
									<span class="fontjc">
										<a class="LV" onclick="showbonus()" id="advance" href="javascript:;">(+)使用红包抵消部分总额</a>
									</span>
									<div style="height: 40px; position: absolute; top: 10px; right: 10px;" class="textjy">
										<span class="font14 fontjc">应付款金额：</span>
										<span id="amount_formated" class="font18 fontjc textjs">￥${cart.orderTotalPrice}元</span>
										<br>
									</div>
								</li>				
							</ul>
						</div>
						<div style="display: none;" id="bonus_div">
							<div style="border: 1px dashed rgb(195, 242, 203); clear: both; width: 700px; margin: 0px 15px 5px 25px; background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 5px; height: 1%; overflow: hidden;">
								<ul class="cont">
									<li class="y_s_car_tol texths">温馨提示：需要使用红包的用户，请先<a class="LV" href="javascript:popbox('login')">登录</a>或<a target="_blank" class="LV" href="flow.php?step=login">注册</a>！</li>
								</ul>
							</div>
						</div>
					</div>
					<div style="clear: both; padding: 10px 0pt 5px;" class="textjy">
					
						<input type="image" src="${currentSite.schemaName}/skins/yecare/images/btn_submitb.gif" type="submit">
						<input type="hidden" value="done" name="step">
					</div>
				</div>

			</div>
			</form>
			<div id="list_downb_car"><img height="15" src="${currentSite.schemaName}/skins/yecare/images/blank.gif"></div>
		</div>
		<div class="bottomhead">
		</div>
		<div class="bottomheadb">
		</div>

	</@t.block>

</@t.extend>